<template>
  <el-form
    ref="dataForm"
    :model="roadFacility"
    label-position="left"
    label-width="150px"
    style="width: 400px; margin-left:50px;"
  >
    <el-form-item :rules="rules" label="检测井数量" prop="inspectionWellsNumber">
      <el-input v-model="roadFacility.inspectionWellsNumber" />
    </el-form-item>
    <el-form-item :rules="rules" label="雨水口数量" prop="rainwaterOutletNumber">
      <el-input v-model="roadFacility.rainwaterOutletNumber" />
    </el-form-item>
    <el-form-item :rules="rules" label="路名牌数量" prop="streetSignNumber">
      <el-input v-model="roadFacility.streetSignNumber" />
    </el-form-item>
    <el-form-item :rules="rules" label="树池面积" prop="treePondArea">
      <el-input v-model="roadFacility.treePondArea" />
    </el-form-item>
    <el-form-item label="其他" prop="other">
      <el-input v-model="roadFacility.other" />
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  name: 'RoadManageFacility',
  props: { roadFacility: {
    type: Object,
    default() {
      return {}
    }
  }},
  data() {
    return {
      rules: {
        required: true, message: '请输入信息'
      }
    }
  }
}
</script>

